package com.fruitshop.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 订单创建数据传输对象
 */
@Data
public class OrderCreateDTO implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 收货地址ID
     */
    @NotNull(message = "收货地址不能为空")
    private Long addressId;
    
    /**
     * 订单备注
     */
    private String remark;
} 